package com.itheima.pinda.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.pinda.DTO.transportline.TransportTripsTruckDriverDto;
import com.itheima.pinda.common.utils.Result;
import com.itheima.pinda.entity.transportline.PdTransportTripsTruckDriver;

import java.util.List;

public interface PdTransportTripsTruckDriverService extends IService<PdTransportTripsTruckDriver> {


    Result batchSaveTruckDriver(String transportTripsId, List<TransportTripsTruckDriverDto> dtoList);

    List<TransportTripsTruckDriverDto> findAllTruckDriverTransportTrips(String transportTripsId,
                                                                        String truckId,
                                                                        String userId);
}
